Cevela about COBOL COBOL language - Home - Site Map - About Cevela - MX COBOL    <prev   next>
8.   Statements for subscripting and table handling
For more see links to the main provider's on-line documentation.
For MX COBOL see Summary comment + FAQ and How to ..

search

                                                                 68-1
search  Dat-1  [varying  Dat-2]
                         Ind-2
   end
      imperative-statements-3*
   when  condition-4*
      / imperative-statements-4
      / next sentence
   ...
end-of-statement*
   end-search                                                    85-1
   .

MX limitations: phrase end-search is not implemented

                                                                 68-2
search all  Dat-1
   end
      imperative-statements-2*
   when  condition-all-3*
   and  condition-all-4*
   ...
   statements*
      / imperative-statements*
      / next sentence
end-of-statement*
   end-search                                                    85-2
   .

MX limitations: - phrase end-search is not implemented - this format is not functional

sort Table-1

                                                                 02-1
sort  Dat-1
   key-spec*
      ascending Dat-2  ...
      descending Dat-3  ...
   [duplicates]
   [sequence  Abc-1]

MX limitations: this format is not implemented but there is ICSORT system library routine at disposal

COBOL language in brief - © Vlastimil Cevela 2006

Date 2006-06-03 - Text Builder 0.65 - Time 20:31:46